//创建搜索队 传入位置
//S1 平民
private ["_pos2", "_pos", "_group", "_box", "_roads"];

_pos2 = _this select 0;

_roads = [];
_roads = _pos2 nearRoads 800;
if(count _roads > 0) then
{
	_pos = getPos (selectRandom _roads);
}
else
{
	_pos = _pos2 getPos [800, random 360];
};

_group = createGroup resistance;


//特殊角色
_unit = _group createUnit ["I_C_Soldier_Camo_F", _pos, [], 0, "FORM"];

removeUniform _unit;
removeAllWeapons _unit;
//强行穿上
_unit forceAddUniform "U_C_IDAP_Man_teeshorts_F";//IDAP服
_unit addBackpack "B_Messenger_Black_F";
_unit addItem "APERSTripMine_Wire_Mag";
_unit addItem "APERSTripMine_Wire_Mag";
_unit addItem "APERSTripMine_Wire_Mag";
_unit addItem "Binocular";
_unit assignItem "Binocular";

if(Param_Debug == 1)then{
	_group addGroupIcon ["b_inf",[0,0]];
	_group setGroupIconParams [[1,1,0,1],"侦察兵1",1,true];
};

[_group, _pos2, 100] call fn_addWaypoint;
[_group] spawn fn_controlSearch;
